package com.xiegang.apipassenger.remote;

import com.xiegang.internalcommon.dto.ForecastPriceDto;
import com.xiegang.internalcommon.dto.ResponseResult;
import com.xiegang.internalcommon.response.ForecastpriceResponse;
import org.apache.http.HttpRequest;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author xieGang
 * @description
 * @date 2023/3/14 20:06
 **/
@FeignClient("service-price")
public interface ServicePriceClient {

    @RequestMapping(method = RequestMethod.POST,value = "/forecastPrice")
    public ResponseResult<ForecastpriceResponse> forecastPrice(@RequestBody ForecastPriceDto forecastPriceDto);
}
